export default {
  enableDirtyChecking: true,
  showDataInfoBar: true,
  xdataControlName: 'form',
  loadDefault: true,
  deviewCodeName: 'codelist_multiple',
  deviewId: '15fbf21c82bb818030a59d989d64e18f',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '代码表_多项代码表',
  codeName: 'master_codelist_multiple',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'EditView',
      id: 'engine',
    },
  ],
  appViewMsgGroupId: 'codelist_multiply',
  controls: [
    {
      xdataControlName: 'form',
      codeName: 'codelist_multiple_toolbar',
      controlType: 'TOOLBAR',
      logicName: '代码表_多项代码表_工具栏',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'toolbar',
      },
      modelId: 'faf48ce5ce9b4235e0971ef23d7112c0',
      modelType: 'PSDETOOLBAR',
      name: 'toolbar',
      id: 'codelist_multiple_toolbar',
    },
    {
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.master',
        id: 'create',
      },
      getDraftFromControlAction: {
        appDataEntityId: 'web.master',
        id: 'loaddraftfrom',
      },
      getDraftControlAction: {
        appDEMethodId: 'get_draft',
        appDataEntityId: 'web.master',
        id: 'loaddraft',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.master',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.master',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.master',
        id: 'update',
      },
      wfstartControlAction: {
        appDEMethodId: 'wfstart',
        appDataEntityId: 'web.master',
        id: 'wfstart',
      },
      wfsubmitControlAction: {
        appDEMethodId: 'wfsubmit',
        appDataEntityId: 'web.master',
        id: 'wfsubmit',
      },
      deformItemUpdates: [
        {
          codeName: 'fill_value1',
          defiupdateDetails: [
            {
              id: 'value1',
            },
          ],
          scriptCode:
            "return {value1: data.formitem1 != null ?  data.formitem1 : ''}",
          customCode: true,
          showBusyIndicator: true,
          id: 'fill_value1',
        },
        {
          codeName: 'fill_value3',
          defiupdateDetails: [
            {
              id: 'value3',
            },
          ],
          scriptCode:
            "return {value3: data.formitem3 != null ?  data.formitem3 : ''}",
          customCode: true,
          showBusyIndicator: true,
          id: 'fill_value3',
        },
        {
          codeName: 'fill_value2',
          defiupdateDetails: [
            {
              id: 'value2',
            },
          ],
          scriptCode:
            "return {value2: data.formitem2 != null ?  data.formitem2 : ''}",
          customCode: true,
          showBusyIndicator: true,
          id: 'fill_value2',
        },
        {
          codeName: 'fill_value',
          defiupdateDetails: [
            {
              id: 'value',
            },
          ],
          scriptCode:
            "return {value: data.formitem != null ?  data.formitem : ''}",
          customCode: true,
          showBusyIndicator: true,
          id: 'fill_value',
        },
      ],
      deformPages: [
        {
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          deformDetails: [
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              deformItemUpdateId: 'fill_value',
              editor: {
                appCodeListId: 'web.mock__codelist_numormode',
                editorType: 'CHECKBOXLIST',
                valueType: 'SIMPLE',
                editable: true,
                id: 'formitem',
              },
              allowEmpty: true,
              needCodeListConfig: true,
              caption: '数字或处理',
              codeName: 'formitem',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'formitem',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'WRAP',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'value',
              },
              allowEmpty: true,
              caption: '选取值：',
              codeName: 'value',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'value',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              deformItemUpdateId: 'fill_value1',
              editor: {
                appCodeListId: 'web.mock__codelist_textormode',
                editorType: 'CHECKBOXLIST',
                valueType: 'SIMPLE',
                editable: true,
                id: 'formitem1',
              },
              allowEmpty: true,
              needCodeListConfig: true,
              caption: '文本或模式',
              codeName: 'formitem1',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'formitem1',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'WRAP',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'value1',
              },
              allowEmpty: true,
              caption: '选取值：',
              codeName: 'value1',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'value1',
            },
            {
              createDV: 'item1;item2;item3',
              dataType: 25,
              enableCond: 3,
              ignoreInput: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'NOWRAP',
                appCodeListId: 'web.mock__codelist_textseparator',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'formitem4',
              },
              updateDV: 'item1;item2;item3',
              allowEmpty: true,
              convertToCodeItemText: true,
              caption: '显示分割符号',
              codeName: 'formitem4',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'formitem4',
            },
            {
              createDV: 'item1;item2;item3',
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'WRAP',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'value4',
              },
              updateDV: 'item1;item2;item3',
              allowEmpty: true,
              caption: '选取值：',
              codeName: 'value4',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'value4',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              deformItemUpdateId: 'fill_value2',
              editor: {
                appCodeListId: 'web.mock__codelist_valueseparator',
                editorType: 'CHECKBOXLIST',
                valueType: 'SIMPLE',
                editable: true,
                id: 'formitem2',
              },
              allowEmpty: true,
              needCodeListConfig: true,
              caption: '值分割符号',
              codeName: 'formitem2',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'formitem2',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'WRAP',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'value2',
              },
              allowEmpty: true,
              caption: '选取值：',
              codeName: 'value2',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'value2',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              deformItemUpdateId: 'fill_value3',
              editor: {
                appCodeListId: 'web.mock__codelist_allitem',
                allItems: true,
                editorParams: {
                  allitems: 'true',
                },
                editorType: 'CHECKBOXLIST',
                valueType: 'SIMPLE',
                editable: true,
                id: 'formitem3',
              },
              allowEmpty: true,
              needCodeListConfig: true,
              caption: '全部显示内容',
              codeName: 'formitem3',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'formitem3',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              editor: {
                halign: 'LEFT',
                valign: 'MIDDLE',
                wrapMode: 'WRAP',
                editorType: 'SPAN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'value3',
              },
              allowEmpty: true,
              caption: '选取值：',
              codeName: 'value3',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'value3',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              appDEFieldId: 'id',
              editor: {
                editorType: 'HIDDEN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'id',
              },
              allowEmpty: true,
              hidden: true,
              capLanguageRes: {
                lanResTag: 'DEF.LNAME.MASTER.ID',
              },
              caption: '标识',
              codeName: 'id',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colLG: 12,
                colMD: 12,
                colSM: 12,
                colXS: 12,
                layout: 'TABLE_24COL',
              },
              id: 'id',
            },
          ],
          caption: '基本信息',
          codeName: 'formpage1',
          detailStyle: 'DEFAULT',
          detailType: 'FORMPAGE',
          id: 'formpage1',
        },
      ],
      layout: {
        columnCount: 24,
        layout: 'TABLE_24COL',
      },
      tabHeaderPos: 'TOP',
      noTabHeader: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'main199',
      controlType: 'FORM',
      logicName: '代码表_多项代码表_表单',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'form',
      },
      modelId: 'c644a71fb15d7167770a2a6eae2d64d3',
      modelType: 'PSDEFORM_EDITFORM',
      name: 'form',
      id: 'web.master.main199',
    },
    {
      codeName: 'codelist_multiple_datainfobar',
      controlType: 'DATAINFOBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'datainfobar',
      },
      name: 'datainfobar',
      id: 'codelist_multiple_datainfobar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '代码表_多项代码表',
      codeName: 'codelist_multiple_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'codelist_multiple_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEEDITVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '代码表_多项代码表',
  viewStyle: 'DEFAULT',
  viewType: 'DEEDITVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '102fd6bd2bcd4f87068b988f98c7b18a',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERcodelist_multiple',
  id: 'web.master_codelist_multiple',
};
